
/**
------------------------------------------------------------
* NGUYEN SY BACH
* bit.mta@gmail.com
* Hoc Vien Ky Thuat Quan Su
------------------------------------------------------------
*** header ho tro doc anh bitmap
------------------------------------------------------------
*/

#ifndef NSB_HELPER_READBMP_H
#define NSB_HELPER_READBMP_H

#pragma once

#include "nsb_helper.h"

void DocMauAnh(FILE* filePtr, BYTE headerSize,
	int r0, int c0, int rows, int cols, int bytesPerPixel,
	int rowLength, BYTE* &outPtr);

bool DocPhanHeader(FILE *filePtr, int &width, int &height, int &depth,
	int &rowLength, int &headerSize);


#endif